﻿// -------------------------------------------------------------------------
//    @FileName         :    NFServerFrameTypeDefines.h
//    @Author           :    Gao.Yi
//    @Date             :   2022-09-18
//    @Email			:    445267987@qq.com
//    @Module           :    NFPluginModule
//
// -------------------------------------------------------------------------

#pragma once

#include "NFComm/NFObjCommon/NFTypeDefines.h"
#include "NFServerComm/NFServerCommon/NFServerTypeDefine.h"

enum PartType
{
    PART_GM = 0,			//GM
    PART_PACKAGE,			//背包
    PART_SKILL,				//技能
    PART_BUFF,				//buff
	PART_MISC,
	PART_LEVEL,
	PART_HERO,
	PART_PVE,
	PART_BATTLEDRUG,	//战斗药品
	PART_CREDIT,		//玩家信誉数据
	PART_PARTNER,		//伙伴数据
	PART_LIFESKILL,		//生活技能数据
	PART_ESCORT,		//护送数据
	PART_SHOP,			//商店
	PART_TRAPTOWER,		//陷阱塔
	PART_MAP,			//主城相关数据
	PART_TRADE,			//交易
	PART_SIXEXPERIMENT, //六系试炼数据
	PART_WELFARE,		//福利
	PART_MILITANT, //武斗大会数据
	PART_TITLE,			//称号
	PART_FASHION,		//时装数据
	PART_SNS,			//社交数据
	PART_GUILDCOMPETITION, //工会战数据
	PART_MASTERQUEST,	//师徒任务数据
	PART_AUCTIONCOMPETITION, //拍卖争夺会数据
	PART_LICENSE,		//十二支执照数据
	PART_SKYARENA,		//天空竞技场数据
	PART_CREDITSHOP,	//玩家积分商店数据
	PART_PHANTOMTROUPE, //幻影旅团活动数据
	PART_STATE,			//状态数据
	PART_ARENA,			//擂台数据
	PART_SIGN,			//签到信息
	PART_SIGNINMONTH,	//每月签到
	PART_DUNGEON,		//副本数据
	PART_CHEAT,			//作弊统计信息
	PART_TREASUREHUNT,	//寻宝相关信息
	PART_WANTED,		//捉拿悬赏数据
	PART_PAY,			//付费数据，钻石、月卡信息
	PART_MULTILEVEL,	//连战关卡数据
	PART_ACTIVITYEIGHT, //嘉年华活动
	PART_GIFT,			//礼物数据
	PART_CE,			//变强(战力)数据
	PART_CHAT,
	PART_AUTORECOVER,	//自动恢复数据
	PART_RISINGPURCHASE, //跳跃购买数据
	PART_LEVELBLESS,	//关卡祝福数据
	PART_TORMENTTOWER,  //试炼塔数据
	PART_LEGENDROAD,	//传奇之路数据
	PART_PVP1V1,		//1v1数据
	PART_CHALLENGETOWER,//挑战之塔数据
	PART_INFINITEDUNGEON, //无限地牢数据
	PART_RAID,			//团本数据
	PART_RETRIVE,		//经验、奖励找回
	PART_RETURN,		//回归数据
	PART_PLAT,			//平台能力相关数据
	PART_AVATAR,
	PART_AHEADCOST, //预付款
	PART_BATTLE, //战斗信息
	PART_CD, //cd数据
	PART_CITYBUFF,
	PART_COUNTER, //角色的一些限制型计数器,比如每日购买限制
	PART_EVENTLOG,
	PART_HALL, //大厅，房间
	PART_HEALTHGAME, //健康游戏
	PART_NIANPRACTICE, //玩家念修行数据
	PART_NOVICEGUIDE, //新手引导
	PART_ONLINEREWARD, //在线奖励
	PART_ROULETTE, //转盘数据
	PART_SKIN,
	PART_QUEST,
    PART_MAX,
};

enum SnsPartType
{
	PART_SNS_DETAIL_FRIEND,
	PART_SNS_DETAIL_MAX,
};

#define PART_NONE 0

enum LogicObServiceType
{
    LOGIC_OB_SERVICE_NONE = 0,
    LOGIC_OB_SERVICE_MAX,
};

typedef enum
{
	EOT_SL_BEGIN_ID = EOT_SERVER_LOGIC_BEGIN_ID,
    ////////////////////////////server common////////////////////////////////////////////////
    ////////////////////////////server common////////////////////////////////////////////////

	////////////////////////////sns server/////////////////////////////
	EOT_SNS_ROLE_SIMPLE,
	EOT_SNS_ROLE_DETAIL,
	EOT_SNS_ROLE_ONLINE,

	////////////////////////////sns trans server/////////////////////////////
	EOT_TRANS_SAVE_ROLE_SIMPLE,
	EOT_TRANS_SAVE_ROLE_DETAIL,
	EOT_TRANS_GET_SNS_ROLE_SIMPLE,
	EOT_TRANS_GET_SNS_ROLE_DETAIL,
	EOT_TRANS_BATCH_SIMPLE_BASE,
	EOT_TRANS_BATCH_DETAIL_BASE,
    EOT_TRANS_INSERT_SIMPLE,
    EOT_TRANS_INSERT_DETAIL,
	EOT_TRANS_ROLE_ONLINE,
	////////////////////////////sns part server/////////////////////////////
	PART_SNS_DETAIL_FREND,
    EOT_SNS_DETAIL_PART_ID,
	EOT_SNS_DETAIL_PART_MIN_ID,
	EOT_SNS_DETAIL_PART_MAX_ID = EOT_SNS_DETAIL_PART_MIN_ID + PART_SNS_DETAIL_MAX,
	////////////////////////////sns service server/////////////////////////////
	////////////////////////////sns server/////////////////////////////

	////////////////////////////logic server/////////////////////////////

    //////////////////////////logic part////////////////////////
    EOT_LOGIC_PART_ID,
    EOT_LOGIC_PART_MIN_ID,
    EOT_LOGIC_PART_MAX_ID=EOT_LOGIC_PART_MIN_ID+PART_MAX,
    //////////////////////////logic trans////////////////////////
    EOT_TRANS_LOGIC_PLAYER_BASE,
    EOT_TRANS_SAVE_PLAYER,
	EOT_TRANS_LOGIC_ACC_BASE,
	EOT_TRANS_LOGIC_GET_ROLELIST,
	EOT_TRANS_LOGIC_CREATE_ROLE,
    EOT_TRANS_LOGIC_LOAD_ROLE,
    EOT_TRANS_LOGIC_INSERT_ROLE,
    EOT_TRANS_LOGIC_SAVE_ROLE,
	EOT_TRANS_LOGIC_GET_ROLE,
    EOT_TRANS_LOGIC_GET_ACC,

    EOT_TRANS_ACC_LOGIN,
    EOT_TRANS_ENTER_MAP,
    EOT_TRANS_OP_STOREAGE_BAG,
	////////////////////////////logic service server/////////////////////////////
	EOT_LOGIC_WELFARE_MGR_ID,
    EOT_LOGIC_SERVICE_ID,
    EOT_LOGIC_SERVICE_MAX_ID = EOT_LOGIC_SERVICE_ID+LOGIC_OB_SERVICE_MAX,
	////////////////////////////logic server/////////////////////////////
    EOT_LOGIC_SESSION,
    EOT_LOGIC_PLAYER_ID,
    EOT_LOGIC_PLAYER_ACCOUNT_ID,
    EOT_LOGIC_PLAYER_MGR_ID,
    EOT_LOGIC_CONFIG_ID,
	EOT_LOGIC_REGISTER_CACHE_ID,
	EOT_LOGIC_WHITELIST_CACHE_ID,
	EOT_LOGIC_LINEUP_MNG_ID,
	EOT_LOGIC_GLOBAL_MISC_DATA_ID,
	EOT_LOGIC_LOGIN_NOTICE_DATA_ID,
	EOT_LOGIC_SERVER_LEVEL_ID,
    EOT_LOGIC_MIRROR_SESSION_MGR_ID,
	////////////////////////////login server/////////////////////////////
	////////////////////////////login server/////////////////////////////
	////////////////////////////world server/////////////////////////////
	EOT_WORLD_WELFARE_MGR_ID,
	EOT_WORLD_DATA_ID,
	EOT_WORLD_WELFARE_DB_DATA_ID,
    ////////////////////////////world server trans/////////////////////////////

    ////////////////////////////world server trans/////////////////////////////
	////////////////////////////world server/////////////////////////////

	////////////////////////////game server/////////////////////////////
	EOT_GAME_ENTITY_ID,
	EOT_GAME_BATTLE_ACTOR_ID,
    ////////////////////////////game part server/////////////////////////////
    ////////////////////////////game server/////////////////////////////
    ////////////////////////////city server/////////////////////////////
    EOT_CITY_SESSION_ID,
    EOT_CITY_PLAYER_ID,
    EOT_CITY_MAP_MGR_ID,
    EOT_CITY_MAP_INST_ID,
    EOT_CITY_MAP_GRID_ID,
    EOT_CITY_WORLD_OBJECT_ID,
    EOT_CITY_NPC_ID,
    ////////////////////////////city server/////////////////////////////
	////////////////////////////online server/////////////////////////////
	EOT_ONLINE_ACC_ID,
	EOT_ONLINE_ACC_MGR_ID,
	EOT_ONLINE_ROLE_ID,
    EOT_ONLINE_TRANS_ACC_LOGIN,
    EOT_ONLINE_TRANS_ACC_CREATE_ROLE,
    EOT_TRANS_LOAD_ACC,
    EOT_TRANS_INSERT_ACC,
    EOT_TRANS_SAVE_ACC,
    EOT_TRANS_INSERT_NAME,
	////////////////////////////online server/////////////////////////////
	///////////////////////////////////////////////////////////
	EOT_SL_END_ID = EOT_SERVER_LOGIC_END_ID,
} EN_SERVER_LOGIC_SHMOBJ_TYPE;
